package cn.com.computer.my.game.dal.mapper;

import cn.com.computer.my.game.dal.domain.GameDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by WANGXin on 2017/5/19.
 */
public interface GameMapper {

    /**
     * 查询游戏信息
     * @param gamePlatform
     * @param gameDO
     * @return
     */
    List<GameDO> queryGameByCondition(@Param("gamePlatform") String gamePlatform,
                                      @Param("gameDO") GameDO gameDO);

    /**
     * 保存游戏信息
     * @param gamePlatform
     * @param gameDO
     * @return
     */
    Integer saveGame(@Param("gamePlatform") String gamePlatform,
                     @Param("gameDO") GameDO gameDO);
}
